package com.funtl.hello.spring.cloud.web.admin.ribbon.controller;

import com.funtl.hello.spring.cloud.web.admin.ribbon.service.AdminService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class AdminController {
    @Autowired
    private AdminService adminService;
    /** 
    * @Description: saiHi
    * @param: [message]
    * @return: java.lang.String
    * @Author: zhangdachen
    * @Date: 2019-07-30  16:33
    */ 
    @GetMapping("/hi")
    public String sayHi(String message) {
        return adminService.sayHi(message);
    }
}
